package io.kubesphere.devops.service;

import io.kubesphere.devops.model.MergeAction;
import io.kubesphere.devops.model.UserMerging;

/**
 * <p> MergeLogService 合并日志记录逻辑
 *
 * @author gaochuan
 * @version 0.1.0
 * @date 2021/11/16 14:52
 * @since 2021/11/16
 */
public interface MergeLogService {

    UserMerging mergeLog();

    MergeAction queryMergeAction(String userMergingId);

    void mergingBranchCommit(MergeCommitEvent mergingBranchCommit);

    void mergingBranchRevert(MergeRevertEvent mergeRevertEvent);

    void mergeLog(MergeEvent event);

}
